package org.hp.service.dictionary;

import org.apache.ibatis.annotations.Param;
import org.hp.bean.Hosptial;

import java.util.List;
import java.util.Map;

public interface HosptalService {
    public List<Hosptial> queryHosp(@Param("limit") Integer limit,@Param("page") Integer page,@Param("hname") String hname);
    public int addHosp(Hosptial h);
    Hosptial queryOneHosp(Integer hid);
    public int updateHosp(Hosptial h);
    public List<Hosptial> queryDelHosp(@Param("limit") Integer limit,@Param("page") Integer page,@Param("hname") String hname);
    public int delHosp(Integer hid);
    public int returnHosp(Integer hid);
}
